<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:75:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/admin\view\menu\add.html";i:1511621564;s:80:"E:\UPUPW_NP7.0\htdocs\filtrs\public/../application/admin\view\public\header.html";i:1511444153;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>测试</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_LAY__']; ?>/css/layui.css" media="all" />
	<link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all" />
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_CSS__']; ?>/login.css" media="all" />
	<link rel="stylesheet" href="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_CSS__']; ?>/main.css" media="all" />
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_LAY__']; ?>/layui.js"></script>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_JS__']; ?>/common.js"></script>
</head>
<body class="childrenBody">
	<form class="layui-form">
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">所属模块</label>
				<div class="layui-input-inline">
					<select name="TopId" class="newsLook" lay-filter="selectMenu" lay-search lay-verify="required">
						<option value="0}">请选择模块</option>
						<?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $k = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$m): $mod = ($k % 2 );++$k;?>
							<option value="<?php echo $k; ?>"><?php echo $m; ?></option>
						<?php endforeach; endif; else: echo "" ;endif; ?>
					</select>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">一级栏目</label>
				<div class="layui-input-inline" id="MenuList">
					<select name="ParentId" class="newsLook" lay-filter="ParentId" lay-search>
						<option value="0}">请选择栏目</option>
					</select>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">栏目名称</label>
			<div class="layui-input-block">
				<input type="text" name="ModuleName" class="layui-input ModuleName" lay-verify="required" placeholder="请输入栏目名称">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
			    <label class="layui-form-label">栏目深度</label>
			    <div class="layui-input-block">
			      	<input type="radio" name="depth" value="1" title="控制器" checked>
			      	<input type="radio" name="depth" value="2" title="方法">
			    </div>
		    </div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">控制器</label>
			<div class="layui-input-block">
				<input type="text" name="controller" class="layui-input controller" lay-verify="required" placeholder="请输入控制器">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">方法</label>
			<div class="layui-input-block">
				<input type="text" name="action" class="layui-input action" lay-verify="required" placeholder="请输入方法">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">是否启用</label>
				<div class="layui-input-block">
					<input type="checkbox" name="show" class="isShow" title="启用">
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<input type="hidden" name="menu_id" class="" value="0">
				<button class="layui-btn" lay-submit="" lay-filter="addNews">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="<?php echo $PUBLIC_STATIC_SRC['__ADMIN_JS__']; ?>/menu/menuAdd.js"></script>
</body>
</html>